package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 操作日志 记录文件操作记录
 * </p>
 *
 * @author jiayen
 * @since 2021-05-08
 */

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("d_project_file_log")
@ApiModel(value="ProjectFileLog对象", description="操作日志 记录文件操作记录")
public class ProjectFileLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "intId", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "文件id 操作的文件id")
    @TableField("intFileId")
    private Integer fileId;

    @ApiModelProperty(value = "操作行为 edit-编辑，add-新增，del-删除,rename-重命名")
    @TableField("vcAction")
    private String action;

    @ApiModelProperty(value = "创建人id")
    @TableField("created_by")
    private Integer createdBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("created_time")
    private Date createdTime;

    @ApiModelProperty(value = "创建人")
    @TableField("created_name")
    private String createdName;

    @ApiModelProperty(value = "更新时间")
    @TableField("updated_time")
    private Date updatedTime;


}
